  /**
 *
 *               Copyright (c) 2010 by Anoln
 *
 * All rights reserved.  These materials are confidential and
 * proprietary to NCS. and no part of these materials
 * should be reproduced, published in any form by any means,
 * electronic or mechanical, including photocopy or any
 * Information storage or retrieval system nor should the
 * materials be disclosed to third parties without the express
 * written authorization of BALANCE.
 *
 *<Class Description>
 *
 *
 *<Module Name>
 *
 *
 *<Change Revision>
 *====================================================
 *Date                 Author                Remarks
 *
*/

package com.balance.anole.common.to;

import java.io.Serializable;
import java.util.Set;

import org.apache.commons.lang.builder.ToStringBuilder;

public class NavigateTO implements Serializable{

	private static final long serialVersionUID = -4552590540669021952L;

	public static final String TYPE_EXPAND = "E";
	public static final String TYPE_LINK = "L";

	private String funId;
	private String funDesc;
	private String type;
	private String iconPath;
	private String command;
	private int sn;

	private NavigateTO parentNavigate;
	//add by jason.fang
	private String url;
	private String defAction;
	private String orderId;
	private String isLeaf;
	private String isShow;
	private Set<NavigatePerTypeTO> navPerTypeList;

	public String getFunId() {
		return funId;
	}
	public void setFunId(String funId) {
		this.funId = funId;
	}
	public String getFunDesc() {
		return funDesc;
	}
	public void setFunDesc(String funDesc) {
		this.funDesc = funDesc;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getIconPath() {
		return iconPath;
	}
	public void setIconPath(String iconPath) {
		this.iconPath = iconPath;
	}
	public String getCommand() {
		return command;
	}
	public void setCommand(String command) {
		this.command = command;
	}
	public NavigateTO getParentNavigate() {
		return parentNavigate;
	}
	public void setParentNavigate(NavigateTO parentNavigate) {
		this.parentNavigate = parentNavigate;
	}

	public int getSn() {
		return sn;
	}
	public void setSn(int sn) {
		this.sn = sn;
	}
	public String toString(){
		return ToStringBuilder.reflectionToString(this);
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getDefAction() {
		return defAction;
	}
	public void setDefAction(String defAction) {
		this.defAction = defAction;
	}
	public String getOrderId() {
		return orderId;
	}
	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}
	public String getIsLeaf() {
		return isLeaf;
	}
	public void setIsLeaf(String isLeaf) {
		this.isLeaf = isLeaf;
	}
	public String getIsShow() {
		return isShow;
	}
	public void setIsShow(String isShow) {
		this.isShow = isShow;
	}
	public Set<NavigatePerTypeTO> getNavPerTypeList() {
		return navPerTypeList;
	}
	public void setNavPerTypeList(Set<NavigatePerTypeTO> navPerTypeList) {
		this.navPerTypeList = navPerTypeList;
	}
	
}
